package com.sprint.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sprint.domain.Book;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.servlet.view.InternalResourceViewResolver;

import java.util.List;

//IPage<Book> getPage(Integer currentPage, Integer pageSize);
public interface IBookService extends IService<Book> {

     void save1();


     IPage<Book> getPage2(Integer currPage,Integer pageSize);

     IPage<Book> getPage2(Integer currPage,Integer pageSize, Book book);

}
